#ifndef PLATFROMSTATUSINFO_H
#define PLATFROMSTATUSINFO_H

#include "baseresp.h"
#include <QMetaType>

class PlatfromStatusInfo : public BaseResp
{
public:

    enum PlatformStatus{
        NO_REGISTER = 0,
        REGISTERED,
        PLATFORM_STATUS_MAX
    };

    PlatfromStatusInfo();
    virtual ~PlatfromStatusInfo() {}

    int getPlatformStatus() const;

    void unserialize(QString json);

private:
    int platform_status;
};

Q_DECLARE_METATYPE(PlatfromStatusInfo)

#endif // PLATFROMSTATUSINFO_H
